﻿using SHZY.Common.Const;
using SqlSugar;

namespace SHZY.Business.Entitys.WMS.Entity;

/// <summary>
/// WMS.到货通知实体.
/// </summary>
[SugarTable("wms_busi_receive_notice","WMS.到货通知")]
[Tenant(ClaimConst.TENANTID)]
public class WmsBusiReceiveNoticeEntity
{
    /// <summary>
    /// GUID.
    /// </summary>
    [SugarColumn(ColumnName = "F_Id",ColumnDescription = "GUID", IsPrimaryKey = true)]
    public string Id { get; set; }

    /// <summary>
    /// 供应商id.
    /// </summary>
    [SugarColumn(ColumnName = "F_SupplierId",ColumnDescription = "供应商id")]
    public string SupplierId { get; set; }

    /// <summary>
    /// 供应商编码.
    /// </summary>
    [SugarColumn(ColumnName = "F_SupplierCode",ColumnDescription = "供应商编码")]
    public string SupplierCode { get; set; }

    /// <summary>
    /// 供应商名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_SupplierName",ColumnDescription = "供应商名称")]
    public string SupplierName { get; set; }

    /// <summary>
    /// 物料id.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialId",ColumnDescription = "物料id")]
    public string MaterialId { get; set; }

    /// <summary>
    /// 物料code.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialCode",ColumnDescription = "物料code")]
    public string MaterialCode { get; set; }

    /// <summary>
    /// 物料名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialName",ColumnDescription = "物料名称")]
    public string MaterialName { get; set; }

    /// <summary>
    /// 采购订单号.
    /// </summary>
    [SugarColumn(ColumnName = "F_PurchaseOrder",ColumnDescription = "采购订单号")]
    public string PurchaseOrder { get; set; }

    /// <summary>
    /// 发货日期.
    /// </summary>
    [SugarColumn(ColumnName = "F_DeliveryDate",ColumnDescription = "发货日期")]
    public DateTime? DeliveryDate { get; set; }

    /// <summary>
    /// ASN.
    /// </summary>
    [SugarColumn(ColumnName = "F_ASN",ColumnDescription = "ASN")]
    public string Asn { get; set; }

    /// <summary>
    /// 状态(0:未处理 1已生成).
    /// </summary>
    [SugarColumn(ColumnName = "F_Status",ColumnDescription = "状态(0:未处理 1已生成)")]
    public int? Status { get; set; }

    /// <summary>
    /// 采购单位.
    /// </summary>
    [SugarColumn(ColumnName = "F_PoUnit",ColumnDescription = "采购单位")]
    public string PoUnit { get; set; }

    /// <summary>
    /// 数量.
    /// </summary>
    [SugarColumn(ColumnName = "F_Qty",ColumnDescription = "数量")]
    public decimal Qty { get; set; }

    /// <summary>
    /// 批次号.
    /// </summary>
    [SugarColumn(ColumnName = "F_BatchNo",ColumnDescription = "批次号")]
    public string BatchNo { get; set; }

    /// <summary>
    /// Site.
    /// </summary>
    [SugarColumn(ColumnName = "F_Site",ColumnDescription = "Site")]
    public string Site { get; set; }

    /// <summary>
    /// 创建人.
    /// </summary>
    [SugarColumn(ColumnName = "F_CreatorUserId",ColumnDescription = "创建人")]
    public string CreatorUserId { get; set; }

    /// <summary>
    /// 创建时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_CreatorTime",ColumnDescription = "创建时间")]
    public DateTime? CreatorTime { get; set; }

    /// <summary>
    /// 更新人.
    /// </summary>
    [SugarColumn(ColumnName = "F_LastModifyUserId",ColumnDescription = "更新人")]
    public string LastModifyUserId { get; set; }

    /// <summary>
    /// 更新时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_LastModifyTime",ColumnDescription = "更新时间")]
    public DateTime? LastModifyTime { get; set; }

    /// <summary>
    /// 有效标志0无效 1有效.
    /// </summary>
    [SugarColumn(ColumnName = "F_EnabledMark",ColumnDescription = "有效标志0无效 1有效")]
    public int? EnabledMark { get; set; }

    /// <summary>
    /// 删除标志1删除.
    /// </summary>
    [SugarColumn(ColumnName = "F_DeleteMark",ColumnDescription = "删除标志1删除")]
    public int? DeleteMark { get; set; }

    /// <summary>
    /// 删除时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_DeleteTime",ColumnDescription = "删除时间")]
    public DateTime? DeleteTime { get; set; }

    /// <summary>
    /// 删除用户.
    /// </summary>
    [SugarColumn(ColumnName = "F_DeleteUserId",ColumnDescription = "删除用户")]
    public string DeleteUserId { get; set; }

}